rational zero theorem to find all real zeros